package huajiu.com.controller;

import huajiu.com.base.ResultEntity;
import huajiu.com.service.ConsumerHistoricaldataService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsumerHistoricaldataController {
	
	@Autowired
	private ConsumerHistoricaldataService  consumerHistoricaldataService;
	
	@RequestMapping("Consumer/ShowConsumerTestResult.do")
	@ResponseBody
	public ResultEntity ShowConsumerTestResult(String Consumer_HistoryCacheId){
		ResultEntity showConsumerTestResult = consumerHistoricaldataService.selectConsumerHistoricaldataById(Consumer_HistoryCacheId);
		return showConsumerTestResult;
	}
}
